package no.runeway.logentry;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "logfile")
public class LogFile {

	@XmlElementWrapper(name = "logEntries")
	@XmlElement(name = "logEntry")
	List<LogEntry> logEntries = new ArrayList<LogEntry>();

	public LogFile() {
	}

	public LogFile(List<LogEntry> logEntries) {
		this.logEntries = logEntries;
	}

}
